<?php
/**
 * Created by PhpStorm.
 * User: liudong
 * Date: 16/12/12
 * Time: 下午4:49
 */

function toJson($code, $json) {
    if ($code == "1") {
        return array('code' => $code, 'msg' => "", 'json' => $json);
    } else {
        return array('code' => $code, 'msg' => $json, 'json' => "");
    }
}

function app_key() {
    return "8ba0bd355bcb4dc5bcbfeca3";

}

function master_secret() {
    return "272224360f4e13e3074229a5";
}

